#ifndef MAIN_FORM_H
#define MAIN_FORM_H

#include <QWidget>

class QListWidgetItem;

namespace Ui
{
    class MainForm;
}

namespace BitWin
{
    class Model;
}

class MainForm: public QWidget
{
    Q_OBJECT

    Ui::MainForm* _ui;
    BitWin::Model* _model;

public:

    MainForm(QWidget* parent=NULL);
    ~MainForm();

    void addNewItem(const QString& data=QString());
    void commitData();

public slots:

    void commitFormat();
    void dataChanged(QListWidgetItem* item);
};

#endif
